package sfeir.ergosum.model;

import java.io.Serializable;

public class Tel  implements Serializable{

	private static final long serialVersionUID = -8323055889198800645L;
	public static final int MOBILE_LINE = 0x01;
    public static final int HOME_LANDLINE = 0x02;
    public static final int PROFESSIONNAL_LINE = 0x03;
    public static final int UNKNOWN_LINE = 0x04;

    private int type = MOBILE_LINE;
    
    private long _id;

    private String phoneNumber;
    
    public Tel(String phoneNumber, int type) {
        this.phoneNumber=phoneNumber;
        this.type=type;
    }

    public Tel() {
	}

	public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long get_id() {
        return _id;
    }

    public void set_id(long _id) {
        this._id = _id;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
